﻿using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XNA_TD.Shells;

namespace XNA_TD
{
    abstract public class Unit : GameObject
    {
        protected float speed;

        public Unit(string unit, Vector3 pos, GegnerTyp typ)
            : base(Priority.Einheit, pos, typ, unit)
        {
        }

        public override void Destroyed()
        {
            geld += lvlInfo.preis;
            //Explosion.Create(position);
        }
    }
}
